<%--
  Created by IntelliJ IDEA.
  User: lizhun
  Date: 16/3/19
  Time: 下午4:45
  To change this template use File | Settings | File Templates.
--%>
<%@page  pageEncoding="utf-8" contentType="text/html;charset=utf-8" %>
<%@ include file="../../include/import.jsp" %>
<!doctype html>
<html>
<head>
    <title></title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <link rel="stylesheet" type="text/css" href="${ctx}/resource/live/css/libs/CSSRESET.css">
    <link rel="stylesheet" type="text/css" href="${ctx}/resource/live/css/common.css">
    <link rel="stylesheet" type="text/css" href="${ctx}/resource/live/css/live_shared.css?v=1">
</head>
<body>
<article class="wrapper">
    <div class="main">

        <div class="banner">
            <img src="${src}${live.live_cou_his_picture}" alt=""  />
            <div class="background"></div>
            <div class="live">
                <h5>直播中</h5>
                <p>${live.live_cou_size}人正在看</p>
            </div>

            <div class="download">
                <div><img src="${ctx}/resource/live/img/icon_face.png" alt=""  /></div>
                <div>
                    <h5>外教君</h5>
                    <p>一键学英语</p>
                </div>
                <div><a href="javascript:;" onclick="phone_system()"></a></div>
            </div>
        </div>
        <!-- banner -->

        <div class="detail">
            <div class="profile">
                <div><img src="${src}${live.tea_head_portrait}" alt="" /></div>
                <p>${live.tea_name}</p>
            </div>

            <div class="intro">
                <span>简介：</span>
                <p>${live.live_cou_synopsis}</p>
            </div>
        </div>
        <!-- detail -->
    </div>

</article>
<script>
    function phone_system(){
        var ua = navigator.userAgent.toLowerCase();
        if (/iphone|ipad|ipod/.test(ua)) {

            location.href="http://a.app.qq.com/o/simple.jsp?pkgname=com.waijiaojun";
        } else if (/android/.test(ua)) {

            window.location="http://a.app.qq.com/o/simple.jsp?pkgname=com.waijiaojun";
        } else {
            window.location.href="https://itunes.apple.com/cn/app/id1077827502";
        }

    }

</script>
<!-- wrapper End -->
</body>
</html>
